// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'


import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

import App from './App'




import $ from 'jquery'
import store from 'storejs'

import axios from 'axios'

import router from './router'
import VueRouter from 'vue-router'

Vue.config.productionTip = false


Vue.use(VueRouter)

Vue.prototype.$store = store;
Vue.prototype.$http = axios
//axios.defaults.baseURL = 'http://123.57.35.105:8001/register/'//线上调试地址
// axios.defaults.baseURL = 'http://123.57.35.105:8001/register/'//线上调试地址
// axios.defaults.baseURL = 'http://123.57.35.105:8001/register/'//线上调试地址
// axios.defaults.baseURL = 'http://123.57.35.105:8001/register/'//线上调试地址
axios.defaults.baseURL='http://192.168.0.177:8001/register'//五表


Vue.prototype.$ajaxUrl = 'http://123.57.35.105:8001/register';
Vue.prototype.$downloadUrl = 'http://123.57.35.105:8001/register';//下载pdf

axios.defaults.withCredentials = true  //允许跨域携带cookie

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
